export const urlReg = /^(http?|https|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;

// export const RuleNumberReg = /^((CVE|CNVD|CNNVD|CWE)-\d{4}-\d+)$/
export const RuleNumberFromStrReg = /(CVE|CNVD|CNNVD|CWE)[^)]+/
// export const RuleNumberReg = /(CVE|CNVD|CNNVD|CWE)-\d{4}-\d+/
export const CVENumberReg = /^(CVE-\d{4}-\d+)$/
export const CWENumberReg = /^(CWE-\d{4}-\d+)$/
export const CNVDNumberReg = /^(CNVD-\d{4}-\d+)$/
export const CNNVDNumberReg = /^(CNNVD-\d{4}-\d+)$/


